layui.use('table' , function () {
    var table = layui.table;
    table.render({
        elem: "#root",
        url: "/loginRecord/getJsLoginRecord",
        page: true,
        limit: 10,
        limits: [10,20,30],
        cols: [[
            {field: 'loginDate', title: '登录时间', align: 'center'},
            {field: 'loginIp', title: '登录IP', align: 'center'},
            {field: 'loginAddress', title: '登录地区', align: 'center'},
        ]]
    });
});